package com.bookRecommend.service;

import com.bookRecommend.model.Score;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IScoreService {

    List<Score> findAllScores();
    int addScore(Score score);
    int modifyScore(Score score);
    int removeScore(Integer id);

    PageInfo<Score> findPage(Integer n, Integer size);

    Score findHotScoreByUserId(Integer userId);
}
